<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page contentType="text/html;charset=UTF-8" %>
<%@ page import="com.lmpop.trade.ti_internews.*" %>
<%@ page import="java.util.*" %>
<%
	String news_id="";
	if(request.getParameter("news_id")!=null) news_id = request.getParameter("news_id");
	Ti_internewsInfo ti_internewsInfo = new Ti_internewsInfo();
	List list = ti_internewsInfo.getListByPk(news_id);
	Hashtable map = new Hashtable();
	if(list!=null && list.size()>0) map = (Hashtable)list.get(0);
	
	String title="",content="",remark="",type="";
	if(map.get("title")!=null) title = map.get("title").toString();
	if(map.get("content")!=null) content = map.get("content").toString();
	if(map.get("remark")!=null) remark = map.get("remark").toString();
	if(map.get("type")!=null) type = map.get("type").toString();
	String newstitle = "";
	if(request.getParameter("newstitle")!=null && !request.getParameter("newstitle").equals("")){
		newstitle = request.getParameter("newstitle").trim();
	}
	String cust_id = "";
	if( session.getAttribute("session_cust_id") != null )
	{
		cust_id = session.getAttribute("session_cust_id").toString();
	}
	String end_date = "";
	if(request.getParameter("txtEndDate")!=null && !request.getParameter("txtEndDate").equals("")){
		end_date = request.getParameter("txtEndDate");
	}	
	String start_date = "";
	if(request.getParameter("txtStartDate")!=null && !request.getParameter("txtStartDate").equals("")){
		start_date = request.getParameter("txtStartDate");
	}
	String iStart = "0";
	if(request.getParameter("iStart")!=null) iStart = request.getParameter("iStart");
	
	String para = "/program/admin/internews/index.jsp?newstitle="+newstitle+"&txtEndDate="+end_date+"&txtStartDate="+start_date+"&cust_id="+cust_id+"&iStart="+Integer.parseInt(iStart); 
%>
<div >
    <table width="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#eddfea">
      <tr>
        <td width="5%" height="40" align="center"><img src="/program/member/index/images/icon1.gif" /></td>
        <td width="75%"><h3>新闻信息</h3></td>

      </tr>
    </table>
	<form >
    <table width="100%" border="0" cellspacing="0" bgcolor="#fcf8fb" cellpadding="0" style="border-bottom:3px solid #eddfea; padding-left:15px;">
            <tr bgcolor="#fcf8fb">
              <td height="100" valign="top">
				<table width="100%" border="0" cellpadding="0" cellspacing="1" >
					<tr>
						 <td  height="38" class="art_col"  align="right" width="20%" >标题:</td>
						 <td  width="100%" ><%=title %></td>
					</tr>
					
					<tr>
						<td  height="38" class="art_col"  align="right" width="20%" >内容:</td>
						<td  width="100%" height="90"><%=content %></td>
					</tr>
					<tr>
						<td  height="38" class="art_col"  align="right" width="20%" >备注:</td>
						<td>&nbsp;<%=remark %></td>
					</tr>
					
				</table>
				</form >
	</td>
	</tr>
	</table>
	</div>
